reportme 0.2.1

A metrics crate used in build environment. Used to know the actual usage of your crates.
Documentation

ReportMe

Crate GitHub last commit GitHub issues GitHub pull requests GitHub

Read this in other languages: English, 简体中文.

Description

A Rust metrics crate used in build environment. Used to know the actual usage of your crates.

Usage

Add this to your Cargo.toml:

[build.dependencies]
reportme = "~0.2"

Example

Use Cloudflare to build server. IT IS FREE!

use std::time::Duration;
use reportme::report_build;

fn main() {
    report_build("https://<YourUrl>.pages.dev/metrics",
                 Duration::from_secs(10),
                 env!("CARGO_PKG_NAME"),
                 env!("CARGO_PKG_VERSION"));
}